package com.pcbly.web.business.mail;

import java.util.List;

import com.pcbly.web.bean.mail.UserReceiveMainBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface UserReceiveMainService extends
		BaseService<UserReceiveMainBean> {

	int saveList(List<UserReceiveMainBean> list, String userName)
			throws Exception;

	Page<UserReceiveMainBean> findUserReceiveMainBeanByCond(
			UserReceiveMainBean bean, Page<UserReceiveMainBean> page,
			String orderByName, boolean asc) throws Exception;
	
	void removeUserReceiveMainBeanById(String id)throws Exception;
	
	void removeComplateUserReceiveMainBeanById(String id)throws Exception;
	
	UserReceiveMainBean getUserReceiveMainBeanById(String id)throws Exception;
}
